package com.example.common.constant;

public class SecurityConstants {

    // 认证请求头
    public static final String AUTHORIZATION = "Authorization";

    // JWT令牌前缀
    public static final String JWT_PREFIX = "Bearer ";

    // JWT存储权限前缀
    public static final String AUTHORITY_PREFIX = "ROLE_";

    // JWT令牌的Claim
    public static final String JWT_CLAIM_NAME = "authorities";

    // 解析后设置Header
    public static final String HEADER_USER_INFO = "User-Info";
}
